package net.maku.module.car.convert;

import net.maku.module.car.entity.CarStaffEntity;
import net.maku.module.car.vo.CarStaffVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_内部乘车人
*
* @author    
*/
@Mapper
public interface CarStaffConvert {
    CarStaffConvert INSTANCE = Mappers.getMapper(CarStaffConvert.class);

    CarStaffEntity convert(CarStaffVO vo);

    CarStaffVO convert(CarStaffEntity entity);

    List<CarStaffVO> convertList(List<CarStaffEntity> list);

}